<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action = "http://localhost:8080/webSecond/servlet" method = "get">
用户名：<input type = "text" name = "username"><br>
密码：<input type = "password" name = "psw"><br>
<input type = "submit" value = "get请求">
</form>
<hr size = "2" color = "red">
<form action = "http://localhost:8080/webSecond/servlet" method = "post">
用户名：<input type = "text" name = "username"><br>
密码：<input type = "password" name = "psw"><br>
<input type = "submit" value = "post请求">
</form>
</body>
</html>